<?xml version="1.0" encoding="utf-8"?>
<extension type="component" version="3.1" method="upgrade">
    <name>com_{$AUTO_GENERATOR_COMPONENT|lower}</name>
    <author>{$AUTO_GENERATOR_AUTHOR}</author>
    <creationDate>{$AUTO_GENERATOR_CREATE_DATE}</creationDate>
    <copyright>{$AUTO_GENERATOR_COPYRIGHT}</copyright>
    <license>GNU General Public License version 2 or later; see LICENSE.txt</license>
    <authorEmail>{$AUTO_GENERATOR_AUTHOR_EMAIL|lower}</authorEmail>
    <authorUrl>{$AUTO_GENERATOR_AUTHOR_URL|lower}</authorUrl>
    <version>{$AUTO_GENERATOR_VERSION}</version>
    <description>COM_{$AUTO_GENERATOR_COMPONENT|upper}_XML_DESCRIPTION</description>
    
    <install> <!-- Runs on install -->
        <sql>
            <file driver="mysql">sql/install.mysql.utf8.sql</file>
            <file driver="mysql" charset="utf8">sql/install.mysql.utf8.sql</file>
            <file driver="mysqli">sql/install.mysql.utf8.sql</file>
            <file driver="mysqli" charset="utf8">sql/install.mysql.utf8.sql</file>
        </sql>
    </install>

    <uninstall> <!-- Runs on uninstall -->
        <sql>
            <file driver="mysql">sql/uninstall.mysql.utf8.sql</file>
            <file driver="mysql" charset="utf8">sql/uninstall.mysql.utf8.sql</file>
            <file driver="mysqli">sql/uninstall.mysql.utf8.sql</file>
            <file driver="mysqli" charset="utf8">sql/uninstall.mysql.utf8.sql</file>
        </sql>
    </uninstall>
    
    <files folder="site">
        <filename>{$AUTO_GENERATOR_COMPONENT|lower}.php</filename>
        <filename>controller.php</filename>
        <filename>index.html</filename>
        <filename>router.php</filename>
        <folder>helpers</folder>
        <folder>models</folder>
    </files>
    <languages folder="site">
        <language tag="en-GB">language/en-GB.com_{$AUTO_GENERATOR_COMPONENT|lower}.ini</language>
        <language tag="en-GB">language/en-GB.com_{$AUTO_GENERATOR_COMPONENT|lower}.sys.ini</language>
    </languages>

    <administration>
        <menu>com_{$AUTO_GENERATOR_COMPONENT|lower}</menu>
        <files folder="admin">
            <filename>access.xml</filename>
            <filename>{$AUTO_GENERATOR_COMPONENT|lower}.php</filename>
            <filename>config.xml</filename>
            <filename>controller.php</filename>
            <filename>index.html</filename>
            <folder>controllers</folder>
            <folder>helpers</folder>
            <folder>models</folder>
            <folder>tables</folder>
            <folder>views</folder>
        </files>
        <languages folder="admin">
            <language tag="en-GB">language/en-GB.com_{$AUTO_GENERATOR_COMPONENT|lower}.ini</language>
            <language tag="en-GB">language/en-GB.com_{$AUTO_GENERATOR_COMPONENT|lower}.sys.ini</language>
        </languages>
    </administration>
</extension>